@charset "utf-8";

#canvas {
    display: block;
    position: relative;
    z-index: 1;
    pointer-events: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.my_icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.19em;
    fill: currentColor;
    overflow: hidden;
  }
  
progress::-webkit-progress-bar
{
       background-color:rgb(158, 169, 230);
}
progress::-webkit-progress-value
{
     background-color:rgb(230, 134, 238);
}  

.w {
    width: 100%;
    margin: 10px auto 30px;
}
.nav_menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50px;
    /* background-color: #4caf50; */
    /* border: 1px solid #ccc; */
    color: #fff;
    
}
.menu_item {
    position: relative;
    flex: 1;
    height: 100%;
    line-height: 50px;
    text-align: center;
    transform-style: preserve-3d;
    transition: all 0.5s;
    /* margin: 0 5px; */
}

.menu_item a{
    display: block;
    text-decoration: none;
}

.menu_item:first-child .home{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.menu_item:last-child .home{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}




.menu_item:hover {
    cursor: pointer;
    transform: rotateX(90deg);
}
.home, .web_home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 300px;
}
.home {
    background-color: white;
    z-index: 11;
    transform: translateZ(25px);
    color: black;
}
.web_home {
    color:white;
    background-color: rgb(175, 145, 246);
    transform: translateY(25px) rotateX(-90deg);
}

.nav_menu:hover{
    box-shadow: 0px 0px 20px rgb(152, 251, 152);
}

.audio{
    margin-top:20px;
    width: 100%;
}


.article-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.article-box .box {
    width: 280px;
    overflow: hidden;
    background: #f6f6f6;
    box-sizing: border-box;
    padding: 0 15px 25px 15px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 10px;
    transition: all .3s;
}

.article-box .box:hover{
    box-shadow: 0px 0px 20px rgb(152, 251, 152);
}

.article-box .box:last-child{
    margin-right: 0px;
}

.box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #535353;
    text-decoration: none;

}

.box a:hover {
    color: rgb(172, 162, 231);
}

.imgBox {
    width: 280px;
    height: 186.67px;
    overflow: hidden;
}

.imgBox img {
    width: 100%;
    height: 100%;
    transition: all 0.6s linear;
}

.source {
    border: 1px solid #535353;
    padding: 6px 20px;
    border-radius: 25px;
    margin: 20px 0px;
}

.title {
    margin-bottom: 20px;
    font-size: 20px;
}

.detail {
    font-size: 14px;
    line-height: 160%;
    text-align: justify;
    width: 100%;
}

/*鼠标hover效果*/

.box>a::after {
    content: '';
    /* width: 280px; */
    position: absolute;
    background: rgb(159, 168, 229);
    bottom: 0;
    height: 0px;
    transition: height 0.3s linear;
    /*利用伪类高度，实现动画效果*/
}

.box>a:hover::after {
    height: 10px;
}

.box:hover img {
    transform: scale(1.15);
}

.box:hover .source {
    background: linear-gradient(90deg,rgb(236, 131, 238),rgb(162, 166, 229));
    border-color: transparent;
    color: #ffffff;
}